package cn.itcast.spring.demo4;

import java.util.Date;

public class Person {

	private String username;
	
	private String sex;
	
	private Date birthday;
	
	private int  age;
	
	private Dog dog;
	
	
	

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	
	
	
	
	
	public Dog getDog() {
		return dog;
	}

	public void setDog(Dog dog) {
		this.dog = dog;
	}

	@Override
	public String toString() {
		return "Person [username=" + username + ", sex=" + sex + ", birthday=" + birthday + ", age=" + age + ", dog="
				+ dog + "]";
	}

	
}
